package com.hqyj.system.mapper;

import com.hqyj.system.model.Stock;

import java.util.List;

public interface StockMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Stock record);

    int insertSelective(Stock record);

    Stock selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Stock record);

    int updateByPrimaryKey(Stock record);

    List<Stock> queryAllStock();

    int addStockByStock(Stock stock);

    int updateStockByStock(Stock stock);

    Stock queryStockByStockId(int stockId);
}